<script setup>
const closeWindow = () => {
  if (window.electronAPI) {
    window.electronAPI.sendMessage({
      type: 'closeWindow',
      params: {}
    })
  } else if (window.__TAURI__) {
    console.log('close tauri client')
  }
}
</script>
<template>
  <div @dblclick="closeWindow" class="size-[10px] fixed top-0 left-0 z-10"></div>
</template>
